Represents an exit status and/or a request for navigation made by the RLO.
Namespace: Microsoft.LearningComponents.DataModel
Assembly: Microsoft.LearningComponents.dll
| C# |
|
public class NavigationRequest |
| Name | Description | |
| Ð | Command | Gets or sets the navigation command requested by the RLO. |
| Ð | Destination | Gets or sets the destination of a choice navigation. |
| Ð | ExitMode | Gets or sets the exit status of the RLO. |
This class is intended for use by RLO's, not by controlling applications. It provides a method to identify what their status was when they were exited and what they would prefer the next navigation to be. Controlling applications may simply call the desired navigation commands directly.
The entire contents of this class is ignored in all cases except when ProcessDataModelNavigation is explicitly called on the Session object.
When ProcessDataModelNavigation is called, the ExitMode property is checked first. If this value is set to ExitMode.TimeOut, a navigation request of NavigationCommand.ExitAll is performed. If the value is set to ExitMode.Logout, a navigation request of NavigationCommand.SuspendAll is performed. Otherwise, the navigation from Command is performed.